<%-- <%@page import="com.jiaren.tao.common.GlobalWebCfg"%> --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%-- <%@page session="false"%> --%>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/img/base/favicon.ico">
<%@ include file="/commonjsp/baseUtil.jsp"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/new/common.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/new/you.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js_customer/registerUser.js"></script>
<div class="topbar">
	<div class="topbar-inner">
		<div class="topbar-nav">
			<a href="${pageContext.request.contextPath}/index.aspx" class="home">后街交友首页</a>
			<span class="line"></span>
			<span style="float: left;color: red;line-height:1.5;margin-top:10px;">
				当前城市:
					<c:choose>
						<c:when test="${city!=null}">
							${city.cityName}
						</c:when>
						<c:otherwise>
							上海[默认]
						</c:otherwise>
					</c:choose>
			</span>
			<a href="javascript:void(0);" class="buy" style="margin-left: 10px;" onclick="citySelecter.openDialog();">城市选择</a>
		</div>

		<c:choose>
			<c:when test="${sessionScope.user!=null}">
				<input type="hidden" id="isLogin" name="isLogin" value="true" />
				<!-- after login -->
				<div class="topbar-user topbar-user-login" style="width: 330px;">
					
					<span class="hi">你好，</span> <span data-hover="user-hover"
						class="user"> <a id="jiarenuser" target="_self"
						href="${pageContext.request.contextPath}/customerDefault/ucenterIndex.aspx">${sessionScope.user.userName}</a>
						<em class="arr"></em> <span class="user-link"> 
						<a href="${pageContext.request.contextPath}/customerDefault/ucenterCredit.aspx">积分</a>
						<a href="javascript:void(0)" onclick="userLogout();">退出</a>
					</span>
					</span>
					
					<a target="_self" style="margin-left: 20px;"
 						href="${pageContext.request.contextPath}/customerDefault/ucenterIndex.aspx">个人中心</a>
					<span class="line"></span> <a id="J_addFav" rel="fav" target="_self"
						href="javascript:void(0)">收藏本站</a> <span class="line"></span>
					<div data-hover="topbar-more-hover" class="topbar-more">
						<a class="more" target="_self" href="javascript:void(0)">网站导航<em
							class="arr"></em></a>
						<div class="topbar-prod">
							<div class="item">
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">后街网首页</a>
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">后街交友</a>
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">人气之星</a>
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">社区美女</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">洗浴</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">桑拿</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">线下活动</a>
							</div>
						</div>
					</div>
				</div>
				<!-- /after login -->
			</c:when>
			<c:otherwise>
				<input type="hidden" id="isLogin" name="isLogin" value="false" />
				<!-- before login -->
				<div class="topbar-user">
					<a href="javascript:void(0)"
						target="_self" onclick="loginUser.login();">登录</a><a
						href="javascript:void(0)" target="_self" onclick="registerUser.registeCustomer();">免费注册</a> <a href="javascript:void(0)" rel="fav"
						target="_self">收藏本站</a> <span class="line"></span>
					<div class="topbar-more" data-hover="topbar-more-hover">
						<a href="javascript:void(0)" target="_self" class="more">网站导航<em
							class="arr"></em></a>
						<div class="topbar-prod">
							<div class="item">
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">后街</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">同城交友</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">人气之星</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/sinfo/getAllLoufeng.aspx">社区美女</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">休闲洗浴</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">休闲桑拿</a> 
								<a target="_blank" href="${pageContext.request.contextPath}/index.aspx">线下活动</a>
							</div>
						</div>
					</div>
				</div>
				<!-- /before login -->
			</c:otherwise>
		</c:choose>
	</div>
</div>
<div class="header">
	<div class="top">
		<div class="panel">
			<h1 class="logo l">
				<a href="${pageContext.request.contextPath}"><img width="198" height="72"
					alt="logo" src="${pageContext.request.contextPath}/img/base/logo.jpg"></a>
			</h1>
			<div class="panel-nav r sprite">
				<span>信息全面</span><span>货真价实</span><span>省时省钱</span>
			</div>
		</div>
	</div>
	<div class="nav">
		<div class="panel">
			<ul class="cf f-yh">
				<li class="jiaren-home"><a class="icon-you"
					href="${pageContext.request.contextPath}/index.aspx?curPageTag=index"><span>后街网首页</span></a>
				</li>
				<%-- <li ${curPageTag=="meinvjiaoyou"?"class=\"cur nob\"":" "}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=meinvjiaoyou">美女交友</a>
				</li> --%>
				<%-- <li ${curPageTag=="luntan"?"class=\"cur nob\"":" "}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=luntan">后街论坛</a>
				</li> --%>
				<li ${curPageTag=="jiaoyougonglue"?"class=\"cur nob\"":" "}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=jiaoyougonglue">后街学校</a>
				</li>
				<li ${curPageTag=="chengguangonggao"?"class=\"cur nob\"":" "}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=chengguangonggao">城管公告</a>
				</li>
				<li ${curPageTag=="chengguangonggao"?"class=\"cur nob\"":" "}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=chengguangonggao">充值</a>
				</li>
				<li ${curPageTag=="guanyuwomen"?"class=\"cur nob last\"":"class=\"last\""}>
					<a href="${pageContext.request.contextPath}/index.aspx?curPageTag=guanyuwomen">关于后街网</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="w980 cf">
		<div class="rows filter-cont filter-second clearfix"
			id="J_secondFiletr">
			<form class="search-form" action="search.html" method="post">
				<input type="hidden" name="city" value="${dataCityKey[searchDto.ipLocate] }" /> 
				<input type="hidden" name="ajaxType" value="${curPageTag}" />
				<input type="hidden" name="currPageNo" value="1" />
				<%-- <div data-local="true"
					class="ui-select ${curPageTag=='hotel'?'local2':'local' }">
					<span class="l">${searchDto.ipLocate }</span><em
						class="icon-you r arr"></em>
					<c:if test="${curPageTag!='hotel' && curPageTag!='hotelSearchresult'}">
						<span class="r gray">城市选择</span>
					</c:if>
				</div> --%>
				<input type="text" name="keywords" style="margin-left: 0px;" autocomplete="off" x-webkit-speech="" placeholder="请输入主题关键词" class="filter-text l ml10" value="${searchDto.keyWords }" maxlength="20">
				<a class="sub l" href="javascript:void(0);">搜索</a> 
				<p class="p1 p2">
					<span>热门搜索：</span> 
					<c:if test="${true}">
	                    <a href="${pageContext.request.contextPath}/sinfo/getAllLoufeng.aspx">社区美女</a>
	                    <a href="${pageContext.request.contextPath}/sinfo/getAllExcludeLoufeng.aspx">休闲娱乐</a>
	                    <a href="${pageContext.request.contextPath}/post/getTechniquePostList.aspx">论坛</a>
					</c:if>
				</p>
			</form>
			<div class="cityselect" id="J_jumb">
				<div class="tit">
					<span>热门城市：</span><a href="javascript:void(0)" class="close">×</a>
				</div>
				<ul class="cityselect-ul">
					<li><a data-city="1" href="javascript:void(0)">上海</a></li>
					<li><a data-city="2" href="javascript:void(0)">北京</a></li>
					<li><a data-city="3" href="javascript:void(0)">广州</a></li>
					<c:if test="true">
						<c:forEach var="c" items="${citys}" varStatus="s">
							<li><a data-city="${c.key }" href="javascript:void(0)">${c.value
									}</a></li>
						</c:forEach>
					</c:if>
					<c:if test="${curPageTag!='hotel' }">
						<c:forEach var="c" items="${youCity }" varStatus="s">
							<li><a data-city="${c.key }" href="javascript:void(0)">${c.value
									}</a></li>
						</c:forEach>
					</c:if>
				</ul>
			</div>
		</div>
	</div>
	<!--头部 e-->
	<div class="search">
		<div class="panel">asdf</div>
	</div>
</div>
	<div id="dialog-form-register" title="注册用户">
		
	</div>
	<div id="dialog-form-login" title="用户登录">
		
	</div>
	<div id="dialog-form-cityselecter" title="城市选择">
		<form id="city-selecter-citys">
		</form>
	</div>